<!DOCTYPE html>
<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>米行域名批量交易个人中心</title>

<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<include file="./Public/public/public.html" />
<script>
$(document).ready(function(){
    //点击弹出绑定弹窗
  $('[action="bind"]').click(function(){
        
    $('[popup="bind"]').find("#popupTitle").html($(this).attr("popupTitle"));
    $('[popup="bind"]').find("#fieldName").html($(this).attr("fieldName"));
    $('[popup="bind"]').find("#inputName").val('');
    $('[popup="bind"]').find("#inputName").attr("name",$(this).attr("inputName"));
    $('[popup="bind"]').find("#inputName").attr("placeholder",$(this).attr("placeholder"));
    $('[popup="bind"]').find("#inputName").attr("valid",$(this).attr("valid"));
    $('[popup="bind"]').find("#inputName").attr("msg",$(this).attr("msg"));
    
    $("form").QvalidateDestory();
    $('[popup="bind"]').reveal();
    
  });



    //点击弹出绑定性别
  $('[action="bindGender"]').click(function(){
        
    
    $('[popup="bindGender"]').reveal();
    

  }); 


    //点击弹出绑定手机
  $('[action="bindMobile"]').click(function(){
        
    
    $('[popup="bindMobile"]').reveal();
    

  }); 
  
  
    //点击弹出绑定邮箱
  $('[action="bindEmail"]').click(function(){
        
    
    $('[popup="bindEmail"]').reveal();
    

  });   
    
    //点击确认
  $('[action="confirm"]').click(function(){
     $(this).parents('form').Qsubmit();
  }); 


});
</script>

</head>
<body>
<!--pc头部-->
<include file="./Public/public/top.html" />
<!--pc头部结束-->
<div class="layout-wrap">
    <!--已审核-->
    <div class="layout">
        <include file="./Public/public/centerLeft.html" />
		<!--  绑定 -->
		<div popup="bind" class="reveal-modal medium">
		  <a class="close-reveal-modal" action="closeModal">×</a>
		    <h3 id="popupTitle">XXX</h3>
		    <div>
		    <form method="post" action="{:U('User/saveProfile')}" onsubmit="return false;">
			    <div class="form-row form-row-s mt20">
			        <div class="input-name w30" id="fieldName">XXX</div>
			        <div class="input-box w65">
			        <input type="text" class="input-s" id="inputName"  placeholder="">
			        </div>
			        <div class="clr"></div>
			    </div>   
			    <div class="split-dot mb20 mt20 text-center"></div>
			    <div class="form-row form-row-s">
			        <a action="confirm" class=" button button-blue w45 fl">确认</a>
			        <a action="cancel" class=" button button-gray w45 fr">取消</a>
			
			        <div class="clr"></div>
			    </div>
		    </form>
		    </div>
		</div>



		<!--  绑定性别 -->
		<div popup="bindGender" class="reveal-modal medium">
		  <a class="close-reveal-modal" action="closeModal">×</a>
		    <h3>选择性别后无法修改</h3>
		
		    <div><form method="post" action="{:U('User/saveProfile')}" onsubmit="return false;">
		    <div class="form-row form-row-s mt20">
		        <div class="input-name w30" id="fieldName">选择性别</div>
		        <div class="input-box w65">
		        <select name="sex" valid="{&quot;required&quot;:true}" msg="{&quot;required&quot;:&quot;请选择性别&quot;}">
		         <option value="">请选择</option>
		         <option selected="" value="1">男</option>
		         <option value="2">女</option></select> 
		        </div>
		        <div class="clr"></div>
		    </div>   
		    <div class="split-dot mb20 mt20 text-center"></div>
		    <div class="form-row form-row-s">
		        <a action="confirm" class=" button button-blue w45 fl">确认</a>
		        <a action="cancel" class=" button button-gray w45 fr">取消</a>
		
		        <div class="clr"></div>
		    </div>
		    </form></div>
		
		</div>

<!--  绑定手机 -->
<div popup="bindMobile" class="reveal-modal medium">
  <a class="close-reveal-modal" action="closeModal">×</a>
    <h3>绑定手机号</h3>
    <div>
    <form method="post" action="{:U('User/saveProfile')}" onsubmit="return false;">
    	<input type="hidden" id="sendMobileUrl" value="{:U('User/sendMobileMes')}" />
    	<input type="hidden" id="mobRegImgCodeId" value="1" />
	    <div class="form-row form-row-s mt20">
	        <div class="input-name w30">手机号码</div>
	        <div class="input-box w65">
	        <input type="tel" class="input-s" name="mobile" id="mobile" 
	        placeholder="手机" valid="{required:true,cellphone:true,maxlength:11}" 
	        msg="{required:'请输入手机号',cellphone:'输入的手机不正确',maxLength:'不能超过11个字符'}">        
	        </div>       
	
	        <div class="clr"></div>
	    </div>  
     	<div class="form-row form-row-s">
	          <div class="input-name w30" >图形验证码</div>
	          <div class="input-box w30">
	           <input id="imgcodeMobile" name="imgcode" type="text" 
	           valid="{&quot;required&quot;:true}" msg="{&quot;required&quot;:&quot;请填写图形验证码&quot;}" 
	           class="input-s" placeholder="图形验证码">
	          </div>
	          <div class="input-name-even w40" style="overflow:hidden; height:28px;">
	          		<img id="img1628" prop="verifyImg" name="img" id="mobileImage"
					src="{:U('Register/regverifyCode','type=1')}" class="code imgCodeCl"
					style="cursor: pointer; margin: -5px 0px -5px 0px">
	          </div>
	          <div class="clr"></div>
	      </div>
	    <div class="form-row form-row-s ">
          <div id="verifyLabel" class="input-name w30">短信验证码</div>
          <div class="input-box w30">
            <input id="codeMobile"  type="tel" name="codeMobile"
			valid="{required:true,number:true,limitLength:6}"
			msg="{required:'请填写6位数字短信验证码',number:'请填写6位数字短信验证码',limitLength:'请填写6位数字短信验证码'}"
			class="input-s" placeholder="短信验证码">
          </div>
          <div class="input-name-even w40">
          		<div id="sendMObileMess" watch="mobile" name="register"
				method="mobile" emsg="请输入正确的手机号"
				token="12ad2b693c60403ad9169f6c5f4bc042" left="0"
				class="timer w100">获取短信验证码</div>
          </div>
          <div class="clr"></div>
      </div> 

    <div class="split-dot mb20 mt20 text-center"></div>
    <div class="form-row form-row-s">
        <a action="confirm" class=" button button-blue w45 fl">确认</a>
        <a action="cancel" class=" button button-gray w45 fr">取消</a>

        <div class="clr"></div>
    </div>
    </form>
 </div>

</div>

<!--  绑定邮箱 -->
<div popup="bindEmail" class="reveal-modal medium">
  <a class="close-reveal-modal" action="closeModal">×</a>
    <h3>绑定邮箱</h3>
    <div>
    <form method="post" action="{:U('User/saveProfile')}" onsubmit="return false;">
       	<input type="hidden" id="sendEmailUrl" value="{:U('User/sendEmailMes')}" />
        <div class="form-row form-row-s mt20">
        <div class="input-name w30" id="fieldName">邮箱</div>
        <div class="input-box w65">
		<input class="input-s mt20 email" placeholder="邮箱"
		name="email" maxlength="50" id="email" 
		valid="{required:true,email:true,maxLength:50}"
		msg="{required:'请填写邮箱地址',email:'输入的邮箱不正确',maxlength:'不能超过50个字符'}">        </div>
        <div class="clr"></div>
    </div>   
    <div class="form-row form-row-s">
		<input type="hidden"  id="emlRegImgCodeId" value="2" />
        <div class="input-name w30" id="fieldName">图形验证码</div>
        <div class="input-box w30">
		<input id="imgcodeEmail" name="imgcode" type="text" 
	           valid="{&quot;required&quot;:true}" msg="{&quot;required&quot;:&quot;请填写图形验证码&quot;}" 
	           class="input-s" placeholder="图形验证码">        </div>

        <div class="input-name-even w40" style="overflow:hidden; height:28px;">
			<img  prop="verifyImg" name="img" id="emailImage"
				src="{:U('Register/regverifyCode','type=2')}" class="code imgCodeCl"
				style="cursor: pointer; margin: -5px 0px -5px 0px">		
        </div>
        <div class="clr"></div>
    </div>  

    <div class="form-row form-row-s ">
        <div class="input-name w30">验证码</div>
        <div class="input-box w30">
		
		<input id="codeEmail" name="codeEmail" type="tel"
		valid="{required:true,number:true,limitLength:6}"
		msg="{required:'请填写6位数字邮箱验证码',number:'请填写6位数字邮箱验证码',limitLength:'请填写6位数字邮箱验证码'}"
		class="input-s" placeholder="邮箱验证码">
        </div>
        <div class="input-name-even w40">
        		<div id="sendEmailMess" watch="useremail" name="authemail" method="email" emsg="请输入正确的邮箱地址" token="6868d198d8a15bcf21b91908550fe5fb" left="0" class="ml5 timer w80"> 获取验证码 </div>
        </div>
        <div class="clr"></div>
    </div> 

    <div class="split-dot mb20 mt20 text-center"></div>
    <div class="form-row form-row-s">
        <a action="confirm" class=" button button-blue w45 fl">确认</a>
        <a action="cancel" class=" button button-gray w45 fr">取消</a>

        <div class="clr"></div>
    </div>
    </form></div>

</div>
        <div class="right" style="min-height: 882px;">
           
                <h3>个人信息</h3>
                <div class="cnt-tips">
                  <p>温馨提示：姓名，性别，身份证填写后无法修改，将作为日后识别您本人的依据。</p>
                </div>   
                <div class="split-dot mt10 mb10"></div>
                
                
                
                <div class="row ">
                  <div class="key w55"><i class="fa fa-user"></i>会员ID：{$user.id}</div>
                  <div class="value w30"> 
                        
                  </div>
                  <div class="clr"> </div>
                </div>
                <div class="row ">
                  <div class="key w55"><i class="fa fa-credit-card-alt"></i>姓名:
                       <if condition=" $user.username eq null">
		    	 	  <else /> 
				    		{$user.username}
			   		  </if>
                  </div>
                  <div class="value w30">
                  	  <if condition="$user.username eq null">
                         <a action="bind" popuptitle="填写姓名后不能修改" fieldname="姓名" inputname="username" 
                         placeholder="姓名" valid="{&quot;required&quot;:true,&quot;chinese&quot;:true}" 
                         msg="{&quot;required&quot;:&quot;请填写姓名&quot;,&quot;chinese&quot;:&quot;请填写中文姓名&quot;}">
                                                                          未填写</a>  
		    	 	  <else /> 
				    		<a class="locked">已填写</a> 
			   		  </if>
                  </div>
                  <div class="clr"> </div>
                </div>
                <div class="row ">
                  <div class="key w55"><i class="fa fa-transgender-alt"></i>性别：
	                  <if condition="$user.sex eq null">
	                  
                 	  <elseif condition="$user.sex eq 1"/> 
				    		男
		    	 	  <else /> 
				    		女
			   		  </if>
                 </div>
                  <div class="value w30">
                       <if condition="$user.sex eq null">
	                  		<a action="bindGender">未填写</a>
		    	 	  <else /> 
				    		<a class="locked">已填写</a> 
			   		  </if>     
                  </div>
                  <div class="clr"> </div>
                </div>
                
                <div class="row ">
                  <div class="key w55"><i class="fa fa-credit-card-alt"></i>身份证：
                  	  <if condition="$user.idcard eq null">
		    	 	  <else /> 
				    		{$user.idcard}
			   		  </if>
                  </div>
                  <div class="value w30">
                  	  <if condition="$user.idcard eq null">
             		        <a action="bind" popuptitle="身份证信息将作为您资料变更的依据" fieldname="身份证" 
             		        inputname="idcard" placeholder="身份证号" 
             		        valid="{&quot;required&quot;:true,&quot;residenceID&quot;:true}" 
             		        msg="{&quot;required&quot;:&quot;请填写身份证号&quot;,&quot;residenceID&quot;:&quot;请填写正确的身份证信息&quot;}">未绑定</a>
		    	 	  <else /> 
				    		<a class="locked">已填写</a> 
			   		  </if>
                  </div>
                  <div class="clr"> </div>
                </div>                
                <div class="row">
                  <div class="key w55"><i class="fa fa-mobile-phone"></i>手机：
                  	  <if condition="$user.mobile eq null">
		    	 	  <else /> 
				    		{$user.mobile}
			   		  </if>
                  </div>
                  <div class="value w30">
                  	  <if condition="$user.mobile eq null">
                  	    	<a action="bindMobile">未绑定</a> 
		    	 	  <else /> 
				    		<a class="locked">已绑定</a> 
			   		  </if> 
                  </div>
                  <div class="clr"> </div>
                </div>
                <div class="row">
                  <div class="key w55"><i class="fa fa-envelope-o"></i>邮箱：
                  	  <if condition="$user.email eq null">
		    	 	  <else /> 
				    		{$user.email}
			   		  </if>
                  </div>
                  <div class="value w30">
                  	  <if condition="$user.email eq null">
                  	    	<a action="bindEmail">未绑定</a> 
		    	 	  <else /> 
				    		<a class="locked">已绑定</a> 
			   		  </if> 
                  </div>
                  <div class="clr"> </div>
                </div>
                <div class="row">
                  <div class="key w55"><i class="fa fa-user"></i>账号状态</div>
                  <div class="value w30 ">
                    <a>未认证</a></div>
            
                  <div class="clr"> </div>
                </div>
               
                
              
         
        </div>

        <div class="clr"></div>
    </div>
</div>
<include file="./Public/public/footer.html" />
<script type="text/javascript" src="{$app_path}{$static_path}/js/common.js"></script>
</body></html>